﻿using System;
using System.Data;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace GH.Web.SystemManage
{
    public partial class RightsSet : GH.Web.BasePage.PageBase
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                DataSet dsQuery = new DataSet();
                GH.BLL.Rights rightBll = new GH.BLL.Rights();
                dsQuery = rightBll.GetRightSetList();

                rptList1.DataSource = dsQuery.Tables[0];
                rptList1.DataBind();

                rptList2.DataSource = dsQuery.Tables[1];
                rptList2.DataBind();

                rptList3.DataSource = dsQuery.Tables[2];
                rptList3.DataBind();


                rptList4.DataSource = dsQuery.Tables[3];
                rptList4.DataBind();
            }
        }
    }
}
